package com.test.test_rest.blockchain_data.domain.gen;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ConfStrategyCriteria {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer mysqlOffset;

    protected Integer mysqlLength;

    protected String isCURD;

    public ConfStrategyCriteria() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * @param mysqlOffset 
	 *            指定返回记录行的偏移量<br>
	 *            mysqlOffset= 5,mysqlLength=10;  // 检索记录行 6-15
     */
    public void setMysqlOffset(Integer mysqlOffset) {
        this.mysqlOffset=mysqlOffset;
    }

    /**
     * @param mysqlLength 
	 *            指定返回记录行的最大数目<br>
	 *            mysqlOffset= 5,mysqlLength=10;  // 检索记录行 6-15
     */
    public Integer getMysqlOffset() {
        return mysqlOffset;
    }

    /**
     * @param mysqlOffset 
	 *            指定返回记录行的偏移量<br>
	 *            mysqlOffset= 5,mysqlLength=10;  // 检索记录行 6-15
     */
    public void setMysqlLength(Integer mysqlLength) {
        this.mysqlLength=mysqlLength;
    }

    /**
     * @param mysqlLength 
	 *            指定返回记录行的最大数目<br>
	 *            mysqlOffset= 5,mysqlLength=10;  // 检索记录行 6-15
     */
    public Integer getMysqlLength() {
        return mysqlLength;
    }

    public void setIsCURD(String isCURD) {
        this.isCURD=isCURD;
    }

    public String getIsCURD() {
        return isCURD;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andJobIdIsNull() {
            addCriterion("JOB_ID is null");
            return (Criteria) this;
        }

        public Criteria andJobIdIsNotNull() {
            addCriterion("JOB_ID is not null");
            return (Criteria) this;
        }

        public Criteria andJobIdEqualTo(Integer value) {
            addCriterion("JOB_ID =", value, "jobId");
            return (Criteria) this;
        }

        public Criteria andJobIdNotEqualTo(Integer value) {
            addCriterion("JOB_ID <>", value, "jobId");
            return (Criteria) this;
        }

        public Criteria andJobIdGreaterThan(Integer value) {
            addCriterion("JOB_ID >", value, "jobId");
            return (Criteria) this;
        }

        public Criteria andJobIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("JOB_ID >=", value, "jobId");
            return (Criteria) this;
        }

        public Criteria andJobIdLessThan(Integer value) {
            addCriterion("JOB_ID <", value, "jobId");
            return (Criteria) this;
        }

        public Criteria andJobIdLessThanOrEqualTo(Integer value) {
            addCriterion("JOB_ID <=", value, "jobId");
            return (Criteria) this;
        }

        public Criteria andJobIdIn(List<Integer> values) {
            addCriterion("JOB_ID in", values, "jobId");
            return (Criteria) this;
        }

        public Criteria andJobIdNotIn(List<Integer> values) {
            addCriterion("JOB_ID not in", values, "jobId");
            return (Criteria) this;
        }

        public Criteria andJobIdBetween(Integer value1, Integer value2) {
            addCriterion("JOB_ID between", value1, value2, "jobId");
            return (Criteria) this;
        }

        public Criteria andJobIdNotBetween(Integer value1, Integer value2) {
            addCriterion("JOB_ID not between", value1, value2, "jobId");
            return (Criteria) this;
        }

        public Criteria andSymbolIsNull() {
            addCriterion("SYMBOL is null");
            return (Criteria) this;
        }

        public Criteria andSymbolIsNotNull() {
            addCriterion("SYMBOL is not null");
            return (Criteria) this;
        }

        public Criteria andSymbolEqualTo(String value) {
            addCriterion("SYMBOL =", value, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolNotEqualTo(String value) {
            addCriterion("SYMBOL <>", value, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolGreaterThan(String value) {
            addCriterion("SYMBOL >", value, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolGreaterThanOrEqualTo(String value) {
            addCriterion("SYMBOL >=", value, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolLessThan(String value) {
            addCriterion("SYMBOL <", value, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolLessThanOrEqualTo(String value) {
            addCriterion("SYMBOL <=", value, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolLike(String value) {
            addCriterion("SYMBOL like", value, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolNotLike(String value) {
            addCriterion("SYMBOL not like", value, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolIn(List<String> values) {
            addCriterion("SYMBOL in", values, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolNotIn(List<String> values) {
            addCriterion("SYMBOL not in", values, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolBetween(String value1, String value2) {
            addCriterion("SYMBOL between", value1, value2, "symbol");
            return (Criteria) this;
        }

        public Criteria andSymbolNotBetween(String value1, String value2) {
            addCriterion("SYMBOL not between", value1, value2, "symbol");
            return (Criteria) this;
        }

        public Criteria andMinAmountIsNull() {
            addCriterion("MIN_AMOUNT is null");
            return (Criteria) this;
        }

        public Criteria andMinAmountIsNotNull() {
            addCriterion("MIN_AMOUNT is not null");
            return (Criteria) this;
        }

        public Criteria andMinAmountEqualTo(BigDecimal value) {
            addCriterion("MIN_AMOUNT =", value, "minAmount");
            return (Criteria) this;
        }

        public Criteria andMinAmountNotEqualTo(BigDecimal value) {
            addCriterion("MIN_AMOUNT <>", value, "minAmount");
            return (Criteria) this;
        }

        public Criteria andMinAmountGreaterThan(BigDecimal value) {
            addCriterion("MIN_AMOUNT >", value, "minAmount");
            return (Criteria) this;
        }

        public Criteria andMinAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("MIN_AMOUNT >=", value, "minAmount");
            return (Criteria) this;
        }

        public Criteria andMinAmountLessThan(BigDecimal value) {
            addCriterion("MIN_AMOUNT <", value, "minAmount");
            return (Criteria) this;
        }

        public Criteria andMinAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("MIN_AMOUNT <=", value, "minAmount");
            return (Criteria) this;
        }

        public Criteria andMinAmountIn(List<BigDecimal> values) {
            addCriterion("MIN_AMOUNT in", values, "minAmount");
            return (Criteria) this;
        }

        public Criteria andMinAmountNotIn(List<BigDecimal> values) {
            addCriterion("MIN_AMOUNT not in", values, "minAmount");
            return (Criteria) this;
        }

        public Criteria andMinAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("MIN_AMOUNT between", value1, value2, "minAmount");
            return (Criteria) this;
        }

        public Criteria andMinAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("MIN_AMOUNT not between", value1, value2, "minAmount");
            return (Criteria) this;
        }

        public Criteria andStopProfitIsNull() {
            addCriterion("STOP_PROFIT is null");
            return (Criteria) this;
        }

        public Criteria andStopProfitIsNotNull() {
            addCriterion("STOP_PROFIT is not null");
            return (Criteria) this;
        }

        public Criteria andStopProfitEqualTo(BigDecimal value) {
            addCriterion("STOP_PROFIT =", value, "stopProfit");
            return (Criteria) this;
        }

        public Criteria andStopProfitNotEqualTo(BigDecimal value) {
            addCriterion("STOP_PROFIT <>", value, "stopProfit");
            return (Criteria) this;
        }

        public Criteria andStopProfitGreaterThan(BigDecimal value) {
            addCriterion("STOP_PROFIT >", value, "stopProfit");
            return (Criteria) this;
        }

        public Criteria andStopProfitGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("STOP_PROFIT >=", value, "stopProfit");
            return (Criteria) this;
        }

        public Criteria andStopProfitLessThan(BigDecimal value) {
            addCriterion("STOP_PROFIT <", value, "stopProfit");
            return (Criteria) this;
        }

        public Criteria andStopProfitLessThanOrEqualTo(BigDecimal value) {
            addCriterion("STOP_PROFIT <=", value, "stopProfit");
            return (Criteria) this;
        }

        public Criteria andStopProfitIn(List<BigDecimal> values) {
            addCriterion("STOP_PROFIT in", values, "stopProfit");
            return (Criteria) this;
        }

        public Criteria andStopProfitNotIn(List<BigDecimal> values) {
            addCriterion("STOP_PROFIT not in", values, "stopProfit");
            return (Criteria) this;
        }

        public Criteria andStopProfitBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("STOP_PROFIT between", value1, value2, "stopProfit");
            return (Criteria) this;
        }

        public Criteria andStopProfitNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("STOP_PROFIT not between", value1, value2, "stopProfit");
            return (Criteria) this;
        }

        public Criteria andStopProfitCallbackIsNull() {
            addCriterion("STOP_PROFIT_CALLBACK is null");
            return (Criteria) this;
        }

        public Criteria andStopProfitCallbackIsNotNull() {
            addCriterion("STOP_PROFIT_CALLBACK is not null");
            return (Criteria) this;
        }

        public Criteria andStopProfitCallbackEqualTo(BigDecimal value) {
            addCriterion("STOP_PROFIT_CALLBACK =", value, "stopProfitCallback");
            return (Criteria) this;
        }

        public Criteria andStopProfitCallbackNotEqualTo(BigDecimal value) {
            addCriterion("STOP_PROFIT_CALLBACK <>", value, "stopProfitCallback");
            return (Criteria) this;
        }

        public Criteria andStopProfitCallbackGreaterThan(BigDecimal value) {
            addCriterion("STOP_PROFIT_CALLBACK >", value, "stopProfitCallback");
            return (Criteria) this;
        }

        public Criteria andStopProfitCallbackGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("STOP_PROFIT_CALLBACK >=", value, "stopProfitCallback");
            return (Criteria) this;
        }

        public Criteria andStopProfitCallbackLessThan(BigDecimal value) {
            addCriterion("STOP_PROFIT_CALLBACK <", value, "stopProfitCallback");
            return (Criteria) this;
        }

        public Criteria andStopProfitCallbackLessThanOrEqualTo(BigDecimal value) {
            addCriterion("STOP_PROFIT_CALLBACK <=", value, "stopProfitCallback");
            return (Criteria) this;
        }

        public Criteria andStopProfitCallbackIn(List<BigDecimal> values) {
            addCriterion("STOP_PROFIT_CALLBACK in", values, "stopProfitCallback");
            return (Criteria) this;
        }

        public Criteria andStopProfitCallbackNotIn(List<BigDecimal> values) {
            addCriterion("STOP_PROFIT_CALLBACK not in", values, "stopProfitCallback");
            return (Criteria) this;
        }

        public Criteria andStopProfitCallbackBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("STOP_PROFIT_CALLBACK between", value1, value2, "stopProfitCallback");
            return (Criteria) this;
        }

        public Criteria andStopProfitCallbackNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("STOP_PROFIT_CALLBACK not between", value1, value2, "stopProfitCallback");
            return (Criteria) this;
        }

        public Criteria andUpWeightIsNull() {
            addCriterion("UP_WEIGHT is null");
            return (Criteria) this;
        }

        public Criteria andUpWeightIsNotNull() {
            addCriterion("UP_WEIGHT is not null");
            return (Criteria) this;
        }

        public Criteria andUpWeightEqualTo(BigDecimal value) {
            addCriterion("UP_WEIGHT =", value, "upWeight");
            return (Criteria) this;
        }

        public Criteria andUpWeightNotEqualTo(BigDecimal value) {
            addCriterion("UP_WEIGHT <>", value, "upWeight");
            return (Criteria) this;
        }

        public Criteria andUpWeightGreaterThan(BigDecimal value) {
            addCriterion("UP_WEIGHT >", value, "upWeight");
            return (Criteria) this;
        }

        public Criteria andUpWeightGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("UP_WEIGHT >=", value, "upWeight");
            return (Criteria) this;
        }

        public Criteria andUpWeightLessThan(BigDecimal value) {
            addCriterion("UP_WEIGHT <", value, "upWeight");
            return (Criteria) this;
        }

        public Criteria andUpWeightLessThanOrEqualTo(BigDecimal value) {
            addCriterion("UP_WEIGHT <=", value, "upWeight");
            return (Criteria) this;
        }

        public Criteria andUpWeightIn(List<BigDecimal> values) {
            addCriterion("UP_WEIGHT in", values, "upWeight");
            return (Criteria) this;
        }

        public Criteria andUpWeightNotIn(List<BigDecimal> values) {
            addCriterion("UP_WEIGHT not in", values, "upWeight");
            return (Criteria) this;
        }

        public Criteria andUpWeightBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("UP_WEIGHT between", value1, value2, "upWeight");
            return (Criteria) this;
        }

        public Criteria andUpWeightNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("UP_WEIGHT not between", value1, value2, "upWeight");
            return (Criteria) this;
        }

        public Criteria andUpDecreaseIsNull() {
            addCriterion("UP_DECREASE is null");
            return (Criteria) this;
        }

        public Criteria andUpDecreaseIsNotNull() {
            addCriterion("UP_DECREASE is not null");
            return (Criteria) this;
        }

        public Criteria andUpDecreaseEqualTo(BigDecimal value) {
            addCriterion("UP_DECREASE =", value, "upDecrease");
            return (Criteria) this;
        }

        public Criteria andUpDecreaseNotEqualTo(BigDecimal value) {
            addCriterion("UP_DECREASE <>", value, "upDecrease");
            return (Criteria) this;
        }

        public Criteria andUpDecreaseGreaterThan(BigDecimal value) {
            addCriterion("UP_DECREASE >", value, "upDecrease");
            return (Criteria) this;
        }

        public Criteria andUpDecreaseGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("UP_DECREASE >=", value, "upDecrease");
            return (Criteria) this;
        }

        public Criteria andUpDecreaseLessThan(BigDecimal value) {
            addCriterion("UP_DECREASE <", value, "upDecrease");
            return (Criteria) this;
        }

        public Criteria andUpDecreaseLessThanOrEqualTo(BigDecimal value) {
            addCriterion("UP_DECREASE <=", value, "upDecrease");
            return (Criteria) this;
        }

        public Criteria andUpDecreaseIn(List<BigDecimal> values) {
            addCriterion("UP_DECREASE in", values, "upDecrease");
            return (Criteria) this;
        }

        public Criteria andUpDecreaseNotIn(List<BigDecimal> values) {
            addCriterion("UP_DECREASE not in", values, "upDecrease");
            return (Criteria) this;
        }

        public Criteria andUpDecreaseBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("UP_DECREASE between", value1, value2, "upDecrease");
            return (Criteria) this;
        }

        public Criteria andUpDecreaseNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("UP_DECREASE not between", value1, value2, "upDecrease");
            return (Criteria) this;
        }

        public Criteria andUpPriceIncrementalIsNull() {
            addCriterion("UP_PRICE_INCREMENTAL is null");
            return (Criteria) this;
        }

        public Criteria andUpPriceIncrementalIsNotNull() {
            addCriterion("UP_PRICE_INCREMENTAL is not null");
            return (Criteria) this;
        }

        public Criteria andUpPriceIncrementalEqualTo(BigDecimal value) {
            addCriterion("UP_PRICE_INCREMENTAL =", value, "upPriceIncremental");
            return (Criteria) this;
        }

        public Criteria andUpPriceIncrementalNotEqualTo(BigDecimal value) {
            addCriterion("UP_PRICE_INCREMENTAL <>", value, "upPriceIncremental");
            return (Criteria) this;
        }

        public Criteria andUpPriceIncrementalGreaterThan(BigDecimal value) {
            addCriterion("UP_PRICE_INCREMENTAL >", value, "upPriceIncremental");
            return (Criteria) this;
        }

        public Criteria andUpPriceIncrementalGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("UP_PRICE_INCREMENTAL >=", value, "upPriceIncremental");
            return (Criteria) this;
        }

        public Criteria andUpPriceIncrementalLessThan(BigDecimal value) {
            addCriterion("UP_PRICE_INCREMENTAL <", value, "upPriceIncremental");
            return (Criteria) this;
        }

        public Criteria andUpPriceIncrementalLessThanOrEqualTo(BigDecimal value) {
            addCriterion("UP_PRICE_INCREMENTAL <=", value, "upPriceIncremental");
            return (Criteria) this;
        }

        public Criteria andUpPriceIncrementalIn(List<BigDecimal> values) {
            addCriterion("UP_PRICE_INCREMENTAL in", values, "upPriceIncremental");
            return (Criteria) this;
        }

        public Criteria andUpPriceIncrementalNotIn(List<BigDecimal> values) {
            addCriterion("UP_PRICE_INCREMENTAL not in", values, "upPriceIncremental");
            return (Criteria) this;
        }

        public Criteria andUpPriceIncrementalBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("UP_PRICE_INCREMENTAL between", value1, value2, "upPriceIncremental");
            return (Criteria) this;
        }

        public Criteria andUpPriceIncrementalNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("UP_PRICE_INCREMENTAL not between", value1, value2, "upPriceIncremental");
            return (Criteria) this;
        }

        public Criteria andUpMinIsNull() {
            addCriterion("UP_MIN is null");
            return (Criteria) this;
        }

        public Criteria andUpMinIsNotNull() {
            addCriterion("UP_MIN is not null");
            return (Criteria) this;
        }

        public Criteria andUpMinEqualTo(BigDecimal value) {
            addCriterion("UP_MIN =", value, "upMin");
            return (Criteria) this;
        }

        public Criteria andUpMinNotEqualTo(BigDecimal value) {
            addCriterion("UP_MIN <>", value, "upMin");
            return (Criteria) this;
        }

        public Criteria andUpMinGreaterThan(BigDecimal value) {
            addCriterion("UP_MIN >", value, "upMin");
            return (Criteria) this;
        }

        public Criteria andUpMinGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("UP_MIN >=", value, "upMin");
            return (Criteria) this;
        }

        public Criteria andUpMinLessThan(BigDecimal value) {
            addCriterion("UP_MIN <", value, "upMin");
            return (Criteria) this;
        }

        public Criteria andUpMinLessThanOrEqualTo(BigDecimal value) {
            addCriterion("UP_MIN <=", value, "upMin");
            return (Criteria) this;
        }

        public Criteria andUpMinIn(List<BigDecimal> values) {
            addCriterion("UP_MIN in", values, "upMin");
            return (Criteria) this;
        }

        public Criteria andUpMinNotIn(List<BigDecimal> values) {
            addCriterion("UP_MIN not in", values, "upMin");
            return (Criteria) this;
        }

        public Criteria andUpMinBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("UP_MIN between", value1, value2, "upMin");
            return (Criteria) this;
        }

        public Criteria andUpMinNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("UP_MIN not between", value1, value2, "upMin");
            return (Criteria) this;
        }

        public Criteria andDownWeightIsNull() {
            addCriterion("DOWN_WEIGHT is null");
            return (Criteria) this;
        }

        public Criteria andDownWeightIsNotNull() {
            addCriterion("DOWN_WEIGHT is not null");
            return (Criteria) this;
        }

        public Criteria andDownWeightEqualTo(BigDecimal value) {
            addCriterion("DOWN_WEIGHT =", value, "downWeight");
            return (Criteria) this;
        }

        public Criteria andDownWeightNotEqualTo(BigDecimal value) {
            addCriterion("DOWN_WEIGHT <>", value, "downWeight");
            return (Criteria) this;
        }

        public Criteria andDownWeightGreaterThan(BigDecimal value) {
            addCriterion("DOWN_WEIGHT >", value, "downWeight");
            return (Criteria) this;
        }

        public Criteria andDownWeightGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("DOWN_WEIGHT >=", value, "downWeight");
            return (Criteria) this;
        }

        public Criteria andDownWeightLessThan(BigDecimal value) {
            addCriterion("DOWN_WEIGHT <", value, "downWeight");
            return (Criteria) this;
        }

        public Criteria andDownWeightLessThanOrEqualTo(BigDecimal value) {
            addCriterion("DOWN_WEIGHT <=", value, "downWeight");
            return (Criteria) this;
        }

        public Criteria andDownWeightIn(List<BigDecimal> values) {
            addCriterion("DOWN_WEIGHT in", values, "downWeight");
            return (Criteria) this;
        }

        public Criteria andDownWeightNotIn(List<BigDecimal> values) {
            addCriterion("DOWN_WEIGHT not in", values, "downWeight");
            return (Criteria) this;
        }

        public Criteria andDownWeightBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("DOWN_WEIGHT between", value1, value2, "downWeight");
            return (Criteria) this;
        }

        public Criteria andDownWeightNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("DOWN_WEIGHT not between", value1, value2, "downWeight");
            return (Criteria) this;
        }

        public Criteria andDownCallbackIsNull() {
            addCriterion("DOWN_CALLBACK is null");
            return (Criteria) this;
        }

        public Criteria andDownCallbackIsNotNull() {
            addCriterion("DOWN_CALLBACK is not null");
            return (Criteria) this;
        }

        public Criteria andDownCallbackEqualTo(BigDecimal value) {
            addCriterion("DOWN_CALLBACK =", value, "downCallback");
            return (Criteria) this;
        }

        public Criteria andDownCallbackNotEqualTo(BigDecimal value) {
            addCriterion("DOWN_CALLBACK <>", value, "downCallback");
            return (Criteria) this;
        }

        public Criteria andDownCallbackGreaterThan(BigDecimal value) {
            addCriterion("DOWN_CALLBACK >", value, "downCallback");
            return (Criteria) this;
        }

        public Criteria andDownCallbackGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("DOWN_CALLBACK >=", value, "downCallback");
            return (Criteria) this;
        }

        public Criteria andDownCallbackLessThan(BigDecimal value) {
            addCriterion("DOWN_CALLBACK <", value, "downCallback");
            return (Criteria) this;
        }

        public Criteria andDownCallbackLessThanOrEqualTo(BigDecimal value) {
            addCriterion("DOWN_CALLBACK <=", value, "downCallback");
            return (Criteria) this;
        }

        public Criteria andDownCallbackIn(List<BigDecimal> values) {
            addCriterion("DOWN_CALLBACK in", values, "downCallback");
            return (Criteria) this;
        }

        public Criteria andDownCallbackNotIn(List<BigDecimal> values) {
            addCriterion("DOWN_CALLBACK not in", values, "downCallback");
            return (Criteria) this;
        }

        public Criteria andDownCallbackBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("DOWN_CALLBACK between", value1, value2, "downCallback");
            return (Criteria) this;
        }

        public Criteria andDownCallbackNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("DOWN_CALLBACK not between", value1, value2, "downCallback");
            return (Criteria) this;
        }

        public Criteria andDownIncrementalIsNull() {
            addCriterion("DOWN_INCREMENTAL is null");
            return (Criteria) this;
        }

        public Criteria andDownIncrementalIsNotNull() {
            addCriterion("DOWN_INCREMENTAL is not null");
            return (Criteria) this;
        }

        public Criteria andDownIncrementalEqualTo(BigDecimal value) {
            addCriterion("DOWN_INCREMENTAL =", value, "downIncremental");
            return (Criteria) this;
        }

        public Criteria andDownIncrementalNotEqualTo(BigDecimal value) {
            addCriterion("DOWN_INCREMENTAL <>", value, "downIncremental");
            return (Criteria) this;
        }

        public Criteria andDownIncrementalGreaterThan(BigDecimal value) {
            addCriterion("DOWN_INCREMENTAL >", value, "downIncremental");
            return (Criteria) this;
        }

        public Criteria andDownIncrementalGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("DOWN_INCREMENTAL >=", value, "downIncremental");
            return (Criteria) this;
        }

        public Criteria andDownIncrementalLessThan(BigDecimal value) {
            addCriterion("DOWN_INCREMENTAL <", value, "downIncremental");
            return (Criteria) this;
        }

        public Criteria andDownIncrementalLessThanOrEqualTo(BigDecimal value) {
            addCriterion("DOWN_INCREMENTAL <=", value, "downIncremental");
            return (Criteria) this;
        }

        public Criteria andDownIncrementalIn(List<BigDecimal> values) {
            addCriterion("DOWN_INCREMENTAL in", values, "downIncremental");
            return (Criteria) this;
        }

        public Criteria andDownIncrementalNotIn(List<BigDecimal> values) {
            addCriterion("DOWN_INCREMENTAL not in", values, "downIncremental");
            return (Criteria) this;
        }

        public Criteria andDownIncrementalBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("DOWN_INCREMENTAL between", value1, value2, "downIncremental");
            return (Criteria) this;
        }

        public Criteria andDownIncrementalNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("DOWN_INCREMENTAL not between", value1, value2, "downIncremental");
            return (Criteria) this;
        }

        public Criteria andDownPriceIncrementalIsNull() {
            addCriterion("DOWN_PRICE_INCREMENTAL is null");
            return (Criteria) this;
        }

        public Criteria andDownPriceIncrementalIsNotNull() {
            addCriterion("DOWN_PRICE_INCREMENTAL is not null");
            return (Criteria) this;
        }

        public Criteria andDownPriceIncrementalEqualTo(BigDecimal value) {
            addCriterion("DOWN_PRICE_INCREMENTAL =", value, "downPriceIncremental");
            return (Criteria) this;
        }

        public Criteria andDownPriceIncrementalNotEqualTo(BigDecimal value) {
            addCriterion("DOWN_PRICE_INCREMENTAL <>", value, "downPriceIncremental");
            return (Criteria) this;
        }

        public Criteria andDownPriceIncrementalGreaterThan(BigDecimal value) {
            addCriterion("DOWN_PRICE_INCREMENTAL >", value, "downPriceIncremental");
            return (Criteria) this;
        }

        public Criteria andDownPriceIncrementalGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("DOWN_PRICE_INCREMENTAL >=", value, "downPriceIncremental");
            return (Criteria) this;
        }

        public Criteria andDownPriceIncrementalLessThan(BigDecimal value) {
            addCriterion("DOWN_PRICE_INCREMENTAL <", value, "downPriceIncremental");
            return (Criteria) this;
        }

        public Criteria andDownPriceIncrementalLessThanOrEqualTo(BigDecimal value) {
            addCriterion("DOWN_PRICE_INCREMENTAL <=", value, "downPriceIncremental");
            return (Criteria) this;
        }

        public Criteria andDownPriceIncrementalIn(List<BigDecimal> values) {
            addCriterion("DOWN_PRICE_INCREMENTAL in", values, "downPriceIncremental");
            return (Criteria) this;
        }

        public Criteria andDownPriceIncrementalNotIn(List<BigDecimal> values) {
            addCriterion("DOWN_PRICE_INCREMENTAL not in", values, "downPriceIncremental");
            return (Criteria) this;
        }

        public Criteria andDownPriceIncrementalBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("DOWN_PRICE_INCREMENTAL between", value1, value2, "downPriceIncremental");
            return (Criteria) this;
        }

        public Criteria andDownPriceIncrementalNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("DOWN_PRICE_INCREMENTAL not between", value1, value2, "downPriceIncremental");
            return (Criteria) this;
        }

        public Criteria andDownMaxIsNull() {
            addCriterion("DOWN_MAX is null");
            return (Criteria) this;
        }

        public Criteria andDownMaxIsNotNull() {
            addCriterion("DOWN_MAX is not null");
            return (Criteria) this;
        }

        public Criteria andDownMaxEqualTo(BigDecimal value) {
            addCriterion("DOWN_MAX =", value, "downMax");
            return (Criteria) this;
        }

        public Criteria andDownMaxNotEqualTo(BigDecimal value) {
            addCriterion("DOWN_MAX <>", value, "downMax");
            return (Criteria) this;
        }

        public Criteria andDownMaxGreaterThan(BigDecimal value) {
            addCriterion("DOWN_MAX >", value, "downMax");
            return (Criteria) this;
        }

        public Criteria andDownMaxGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("DOWN_MAX >=", value, "downMax");
            return (Criteria) this;
        }

        public Criteria andDownMaxLessThan(BigDecimal value) {
            addCriterion("DOWN_MAX <", value, "downMax");
            return (Criteria) this;
        }

        public Criteria andDownMaxLessThanOrEqualTo(BigDecimal value) {
            addCriterion("DOWN_MAX <=", value, "downMax");
            return (Criteria) this;
        }

        public Criteria andDownMaxIn(List<BigDecimal> values) {
            addCriterion("DOWN_MAX in", values, "downMax");
            return (Criteria) this;
        }

        public Criteria andDownMaxNotIn(List<BigDecimal> values) {
            addCriterion("DOWN_MAX not in", values, "downMax");
            return (Criteria) this;
        }

        public Criteria andDownMaxBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("DOWN_MAX between", value1, value2, "downMax");
            return (Criteria) this;
        }

        public Criteria andDownMaxNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("DOWN_MAX not between", value1, value2, "downMax");
            return (Criteria) this;
        }

        public Criteria andStopLoseIsNull() {
            addCriterion("STOP_LOSE is null");
            return (Criteria) this;
        }

        public Criteria andStopLoseIsNotNull() {
            addCriterion("STOP_LOSE is not null");
            return (Criteria) this;
        }

        public Criteria andStopLoseEqualTo(BigDecimal value) {
            addCriterion("STOP_LOSE =", value, "stopLose");
            return (Criteria) this;
        }

        public Criteria andStopLoseNotEqualTo(BigDecimal value) {
            addCriterion("STOP_LOSE <>", value, "stopLose");
            return (Criteria) this;
        }

        public Criteria andStopLoseGreaterThan(BigDecimal value) {
            addCriterion("STOP_LOSE >", value, "stopLose");
            return (Criteria) this;
        }

        public Criteria andStopLoseGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("STOP_LOSE >=", value, "stopLose");
            return (Criteria) this;
        }

        public Criteria andStopLoseLessThan(BigDecimal value) {
            addCriterion("STOP_LOSE <", value, "stopLose");
            return (Criteria) this;
        }

        public Criteria andStopLoseLessThanOrEqualTo(BigDecimal value) {
            addCriterion("STOP_LOSE <=", value, "stopLose");
            return (Criteria) this;
        }

        public Criteria andStopLoseIn(List<BigDecimal> values) {
            addCriterion("STOP_LOSE in", values, "stopLose");
            return (Criteria) this;
        }

        public Criteria andStopLoseNotIn(List<BigDecimal> values) {
            addCriterion("STOP_LOSE not in", values, "stopLose");
            return (Criteria) this;
        }

        public Criteria andStopLoseBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("STOP_LOSE between", value1, value2, "stopLose");
            return (Criteria) this;
        }

        public Criteria andStopLoseNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("STOP_LOSE not between", value1, value2, "stopLose");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("CREATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("CREATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("CREATE_TIME =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("CREATE_TIME <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("CREATE_TIME >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CREATE_TIME >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("CREATE_TIME <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("CREATE_TIME <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("CREATE_TIME in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("CREATE_TIME not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("CREATE_TIME between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("CREATE_TIME not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("UPDATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("UPDATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("UPDATE_TIME =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("UPDATE_TIME <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("UPDATE_TIME >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("UPDATE_TIME >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("UPDATE_TIME <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("UPDATE_TIME <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("UPDATE_TIME in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("UPDATE_TIME not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("UPDATE_TIME between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("UPDATE_TIME not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andFirstPricePercentIsNull() {
            addCriterion("FIRST_PRICE_PERCENT is null");
            return (Criteria) this;
        }

        public Criteria andFirstPricePercentIsNotNull() {
            addCriterion("FIRST_PRICE_PERCENT is not null");
            return (Criteria) this;
        }

        public Criteria andFirstPricePercentEqualTo(BigDecimal value) {
            addCriterion("FIRST_PRICE_PERCENT =", value, "firstPricePercent");
            return (Criteria) this;
        }

        public Criteria andFirstPricePercentNotEqualTo(BigDecimal value) {
            addCriterion("FIRST_PRICE_PERCENT <>", value, "firstPricePercent");
            return (Criteria) this;
        }

        public Criteria andFirstPricePercentGreaterThan(BigDecimal value) {
            addCriterion("FIRST_PRICE_PERCENT >", value, "firstPricePercent");
            return (Criteria) this;
        }

        public Criteria andFirstPricePercentGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("FIRST_PRICE_PERCENT >=", value, "firstPricePercent");
            return (Criteria) this;
        }

        public Criteria andFirstPricePercentLessThan(BigDecimal value) {
            addCriterion("FIRST_PRICE_PERCENT <", value, "firstPricePercent");
            return (Criteria) this;
        }

        public Criteria andFirstPricePercentLessThanOrEqualTo(BigDecimal value) {
            addCriterion("FIRST_PRICE_PERCENT <=", value, "firstPricePercent");
            return (Criteria) this;
        }

        public Criteria andFirstPricePercentIn(List<BigDecimal> values) {
            addCriterion("FIRST_PRICE_PERCENT in", values, "firstPricePercent");
            return (Criteria) this;
        }

        public Criteria andFirstPricePercentNotIn(List<BigDecimal> values) {
            addCriterion("FIRST_PRICE_PERCENT not in", values, "firstPricePercent");
            return (Criteria) this;
        }

        public Criteria andFirstPricePercentBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("FIRST_PRICE_PERCENT between", value1, value2, "firstPricePercent");
            return (Criteria) this;
        }

        public Criteria andFirstPricePercentNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("FIRST_PRICE_PERCENT not between", value1, value2, "firstPricePercent");
            return (Criteria) this;
        }

        public Criteria andTaskIdIsNull() {
            addCriterion("TASK_ID is null");
            return (Criteria) this;
        }

        public Criteria andTaskIdIsNotNull() {
            addCriterion("TASK_ID is not null");
            return (Criteria) this;
        }

        public Criteria andTaskIdEqualTo(Integer value) {
            addCriterion("TASK_ID =", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdNotEqualTo(Integer value) {
            addCriterion("TASK_ID <>", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdGreaterThan(Integer value) {
            addCriterion("TASK_ID >", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("TASK_ID >=", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdLessThan(Integer value) {
            addCriterion("TASK_ID <", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdLessThanOrEqualTo(Integer value) {
            addCriterion("TASK_ID <=", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdIn(List<Integer> values) {
            addCriterion("TASK_ID in", values, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdNotIn(List<Integer> values) {
            addCriterion("TASK_ID not in", values, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdBetween(Integer value1, Integer value2) {
            addCriterion("TASK_ID between", value1, value2, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdNotBetween(Integer value1, Integer value2) {
            addCriterion("TASK_ID not between", value1, value2, "taskId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}